Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken submodule #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix broken submodule #5

wants to merge 1 commit into from

Conversation

taoky
Copy link

@taoky taoky commented Jul 15, 2018

The old submodule libc-database @ 4ebb57b is broken. Updated to the latest commit in this PR.

@Byzero512
Copy link

[submodule "libc-database"]


so the change have any difference compared with before?

@taoky
Copy link
Author

taoky commented Jul 18, 2018

Well, if you click on the libc-database @ 4ebb57b on https://github.com/lieanu/LibcSearcher, you can only get a 404 error page. And if you clone this repo and run git submodule update --init --recursive , it will fail with the error Server does not allow request for unadvertised object. This PR is to solve this misconfiguration.

However, I didn't find out how to modify the commit id directly, so I deleted this submodule and added it again to fix this problem. And... .gitmodules is modified.

The real change that takes effect is "Submodule libc-database updated from 4ebb57 to 309334".

@Byzero512
Copy link

but there is another question:
when in libc-database:
use ./get: an erroe happen

Getting package location for ubuntu-vivid-i386
Failed to get package version
Getting
-> Location: ubuntu-vivid-i386-libc6
-> ID:
-> Downloading package
Failed to download package from ubuntu-vivid-i386-libc6

and when git clone libc-database directly, and then use ./get, there isn't the error.

@taoky
Copy link
Author

taoky commented Jul 18, 2018

If you go to see the Ubuntu support timeline, you will find that Canonical is still supporting 14.04 (Trusty), because it is a LTS (Long Time Support) version. However, 15.04 (Vivid) is no longer supported. If you still wanna download the libc of old versions, go to old-releases.ubuntu.com instead of security.ubuntu.com.

Well, it seems that the author of this repo forked libc-database himself (or herself?), and modified some code about 2 years ago. So I guess that his own forked repo is out-of-date for this change. The original libc-database has modified the get shell script and commented the command of downloading libc of some old Ubuntu versions (including vivid).

So, maybe, the best solution is to modify the get script and comment the out-of-date commands, or directly change the submodule url to the original libc-database instead of the old repo forked by the author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants